package com.kucan.recyclecard.application;

import android.app.Application;

import com.kucan.recyclecard.core.AppAction;
import com.kucan.recyclecard.core.AppActionImpl;

public class MyApplication extends Application {
    private static MyApplication mApplication;
    private AppAction appAction;

    @Override
    public void onCreate() {
        super.onCreate();
        mApplication = this;
        appAction = new AppActionImpl(this);
    }

    public static MyApplication getApplication() {
        return mApplication;
    }

    /**
     * 所有网络请求
     * @return
     */
    public AppAction getAppAction() {
        return appAction;
    }
}
